#define MAXSIZE 5

typedef struct {
    int data[MAXSIZE];
    int front, rear;
}Queue;



void InitQueue(Queue* q);
int IsEmpty(Queue* q);
int IsFull(Queue* q);
int EnQueue(Queue* q, int x);
int DeQueue(Queue* q);
void PrintQueue(Queue* q);
int QueueLength(Queue q);
